from pydantic import BaseModel

from common_bind_service.common.base.db_model import PyObjectId


class MongoIdParam(BaseModel):

    id: PyObjectId


class TraceParam(BaseModel):
    call_id: str  # MES需对接口调用方的ID进行校验，未知来源的调用方直接返回错误；
    trace_id: str  # 调用方需要携带调用id，用于后续的调用日志问题定位，参数为UUID

